home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / dev / misc / IOBlixDevKitR4.lha / IOBlixDevKit / C / include / clib / ioblix_protos.h < prev   
Encoding:
C/C++ Source or Header  |  2000-09-05  |  1.1 KB  |  41 lines

  1. #ifndef CLIB_IOBLIX_PROTOS_H
  2. #define CLIB_IOBLIX_PROTOS_H
  3.  
  4. /*
  5. **      $VER: ioblix_protos.h 37.3 (7.4.99)
  6. **
  7. **      C prototypes. For use with 32 bit integers only.
  8. **
  9. **      (C) Copyright 1998 Thore Böckelmann
  10. **      All Rights Reserved.
  11. **
  12. ** (TAB SIZE: 8)
  13. */
  14.  
  15. #ifndef EXEC_TYPES_H
  16. #include <exec/types.h>
  17. #endif
  18.  
  19. #ifndef RESOURCES_IOBLIX_H
  20. #include <resources/ioblix.h>
  21. #endif
  22.  
  23. struct IOBlixChipNode *ObtainChip( ULONG chipType, ULONG chipNum, UBYTE *newOwner, UBYTE **oldOwner );
  24. void ReleaseChip( struct IOBlixChipNode *node );
  25. struct IOBlixChipNode *FindChip( ULONG chipType, ULONG chipNum );
  26. struct List *AllocChipList( void );
  27. void FreeChipList( struct List *list );
  28.  
  29. /* added in V37.7 */
  30. void AddIRQHook( struct IRQHookNode *node );
  31. void RemIRQHook( struct IRQHookNode *node );
  32.  
  33. /* added in V37.9 */
  34. struct IOBlixChipNode *ObtainChipShared( ULONG chipType, ULONG chipNum, UBYTE *newOwner, UBYTE **oldOwner );
  35. void ReleaseChipShared( struct IOBlixChipNode *node, UBYTE *owner );
  36.  
  37. /* added in V37.10 */
  38. void SwitchClockPort( LONG port );
  39.  
  40. #endif /* CLIB_IOBLIX_PROTOS_H */
  41.